<div class="container content">
    <div class="trong-content">
	<div class="left">
	    <?php $this->renderPartial('//layouts/menu_left'); ?>
	</div><!--left-->
	<div class="center">

	    <div class="box update-account-box">
		<div class="title">Are you interested in him?</div>

		<?php
		foreach ($aUsers as $user) {
		    ?>
    		<div class="inter-top">
			<?php
			//check wheter user flirted
			$isFlirt = array_search($user->user_id, Flirt::getList(user()->id));
			if ($isFlirt === false) {
			    ?>
			    <span class="btn btn-warning flirt-in-interested flirt-user" receiver="<?php echo $user->user_id ?>">Flirt</span>
			    <?php
			}
			?>
    		    <div class="him-pro">
    			<h3><?php echo $user->getUserName() ?></h3>
    			Age: <?php echo $user->age ?> | 
    			Height: <?php
			    $listHeight = User::getListHeight();
			    $keyHeight = array_search($user->height, $listHeight);
			    if ($keyHeight !== false) {
				echo $listHeight[$keyHeight];
			    }
			    ?>

    		    </div>

    		</div><!--inter-top-->
    		<div class="sli-him">
    		    <img src="<?php echo $user->getAvatarUrl('large'); ?>" />
    		</div><!--sli-him-->
    		<div class="bottom-box1"></div>
		<?php } ?>

		<!-- ************************************** START PAGINATOR *************************************-->
		<div class="pagination pagination-1 one-user-paginator">
		    <?php
		    $this->widget('bootstrap.widgets.TbPager', array(
			'pages' => $pages
		    ))
		    ?>
		    <div class='total-record'>
			<?php
			if ($iTotalRecord > 1) {
			    $array = getPageination($pages);
			    ?>
    			Showing <?php echo $array['start']; ?>-<?php echo $array['end']; ?> of <?php echo $iTotalRecord; ?>    		    
			<?php } ?>
		    </div>
		</div>
		<!-- ************************************** END PAGINATOR *************************************-->		    
	    </div><!--box-->

	</div><!--center-->
	<div class="right">

	    <?php $this->widget('application.widgets.leftprofile.PercentComplete') ?>
	    <?php $this->widget('application.widgets.leftprofile.Interested'); ?>

	</div><!--right-->

    </div><!--trong-content-->


</div><!--content-->
